package bookExercise;

public class A5VariableDemo2 {
    int value=100;
    public void asd(){
        A5VariableInterface2 obj =()->{
            value=200;
        };
       System.out.println("未修改的value值"+value);
       obj.metod();
       System.out.println("修改后的value值"+value);
    }
    public static void main(String[] args) {
        A5VariableDemo2 c = new A5VariableDemo2();
        c.asd();
    }
}
